package dataBase;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.List;

public interface ISqlTable {
	boolean createTable(Statement stmt) throws SQLException;
	boolean insertRecord(Statement stmt, List<String> values) throws SQLException;
	List<ColumnValue> getSchema();
	boolean createTable(Statement stmt, List<String> primaryKey) throws SQLException;
	boolean createTable(Statement stmt, List<String> primaryKey, List<String> codeCategoriesFT) throws SQLException;
	boolean insertRecord(Statement stmt, List<String> values, boolean ignore)
			throws SQLException;
	String getName();
}
